add variables for setting background-color thead, tbody, tfoot #2206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based off of this discussion #2046 I have an implementation being able to set the
background-color
for tables using variables.This is a New feature.
Proposed solution
Fixes #2046
Tradeoffs
background-color: transparent
as the default forthead, tbody, tfoot
Testing Done
npm run build
I built a sample table using football example from the docs. I tested it using all of the modifiers
is-bordered is-striped is-narrow is-hoverable is-fullwidth
. I also tested it using the background helper classes on individual<td>